-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add max three app name status for agent control health check #1291
Conversation
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## super-agent #1291 +/- ##
===============================================
- Coverage 79.74% 79.72% -0.02%
===============================================
Files 202 202
Lines 22352 22360 +8
Branches 3545 3546 +1
===============================================
+ Hits 17825 17827 +2
- Misses 3370 3372 +2
- Partials 1157 1161 +4 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's one linter issue but otherwise looks good to me:
newrelic/core/agent_control_health.py:68:1: E302 expected 2 blank lines, found 1
This PR adds a new status code to the agent that sets health check reporting to unhealthy when a user has configured more than 3 app names.